/**
 * ****************************************************************************
 * Project: RoboBridge
 * ----------------------------------------------------------------------------
 * -------------------------- [c]2012 - KrawallMann ---------------------------
 * ---------------------- http://www.krawallmann.de.tc/ -----------------------
 * ****************************************************************************
 * File: StandbyState.java Package:
 * tc.de.krawallmann.robobridge.communication.protocol Version: 1.0 Author(s):
 * KrawallMann
 * ****************************************************************************
 * Description:
 * ****************************************************************************
 */
package tc.de.krawallmann.robobridge.communication.protocol;

import tc.de.krawallmann.robobridge.communication.Command;

/**
 * The Class StandbyState does nothing at all.
 * 
 * @author KrawallMann
 * @version 1.0
 */
public class StandbyState extends AbstractProtocolState<RoboBridgeProtocol> {

	/**
	 * Instantiates a new standby state.
	 * 
	 * @param protocol
	 *            the protocol
	 */
	public StandbyState(final RoboBridgeProtocol protocol) {
		super(protocol);
	}

	/*
	 * (non-Javadoc)
	 * @see
	 * tc.de.krawallmann.robobridge.communication.protocol.AbstractProtocolState
	 * #isComplete()
	 */
	@Override
	public boolean isComplete() {
		return false;
	}

	/*
	 * (non-Javadoc)
	 * @see
	 * tc.de.krawallmann.robobridge.communication.protocol.AbstractProtocolState
	 * #isFailed()
	 */
	@Override
	public boolean isFailed() {
		return false;
	}

	/*
	 * (non-Javadoc)
	 * @see
	 * tc.de.krawallmann.robobridge.communication.protocol.AbstractProtocolState
	 * #onCommandReceived(basepackage.Command)
	 */
	@Override
	public boolean onCommandReceived(final Command command) {
		// Do nothing here!
		return true;
	}

	/*
	 * (non-Javadoc)
	 * @see
	 * tc.de.krawallmann.robobridge.communication.protocol.AbstractProtocolState
	 * #update()
	 */
	@Override
	public void update() {
		// Do nothing here!
	}
}
